Odd baseball-like objects found washed up on British beaches have turned out to be a type of sea urchin.